﻿/// <reference path="../GeneratedArtifacts/viewModel.js" />

myapp.Person.created = function (entity) {
    // Write code here.
    entity.addChangeListener("LastName", function (e) {
        toastr.info("(from entity level) LastName value changed to: " + entity.LastName);
    });
};